﻿using System.Collections.Generic;

namespace Models
{
    public class Item
    {
        /// <summary>
        /// 主键
        /// </summary>
        public decimal ID { get; set; }

        /// <summary>
        /// 物品编号
        /// </summary>
        public string ItemID { get; set; }

        /// <summary>
        /// 物品名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string CardID { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specs { get; set; }

        /// <summary>
        /// 物品单价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 类别ID
        /// </summary>
        public int TypeID { get; set; }

        /// <summary>
        /// 类别名称
        /// </summary>
        public string TypeName { get; set; }

        /// <summary>
        /// 库存上限
        /// </summary>
        public decimal InvUpper { get; set; }

        /// <summary>
        /// 库存下限
        /// </summary>
        public decimal InvLower { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 物品状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 物品照片
        /// </summary>
        public List<FileData> ImgList { get; set; }

        /// <summary>
        /// 图片路径
        /// </summary>
        public string Imgpath { get; set; }

        public Item()
        {
            CardID = "";
            Imgpath = "";
            ImgList = new List<FileData>();
        }
    }
}
